package com.example.educationblockchain.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName(value = "college")
public class College {
    @TableId(type = IdType.AUTO)
    String id;
    String _name;

    public College() {
    }

    public College(String id, String _name) {
        this.id = id;
        this._name = _name;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String get_name() {
        return _name;
    }

    public void set_name(String _name) {
        this._name = _name;
    }

    @Override
    public String toString() {
        return "College{" +
                "id='" + id + '\'' +
                ", _name='" + _name + '\'' +
                '}';
    }
}
